/**
 * 屏幕截图
 * */
// const puppeteer = require('puppeteer')

// const getScreenShot = async () => {
//   const browser = await puppeteer.launch({ headless: true })
//   const page = await browser.newPage()
//   await page.goto('https://baidu.com')
//   await page.screenshot({ path: 'baidu.png' })
//   await browser.close()
// }

// getScreenShot()

const fs = require('fs')
// fs.access('/h/zz', fs.constants.F_OK, err => {
//   console.log(err)
// })
var s = fs.existsSync('/h/zz')
console.log(s)
console.log(1)
